package bat.iog.hytool.future.demo;

public class RealData implements Data {
    
    protected final String result;

    public RealData(String para) {
        StringBuffer sb=new StringBuffer(para);
        //假设这里很慢很慢，构造RealData不是一个容易的事
        result =sb.toString();
    }
    
    @Override
    public String getResult() {
        return result;
    }
}
